package cn.edu.nju.askinginhand.activity;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
import cn.edu.nju.askinginhand.util.JsonParserTest3;

public class JsonTestActivity extends Activity {
	private TextView testText;
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.test);
		testText= (TextView)findViewById(R.id.testText);
		String a = null;
		System.out.println("JsonTestActivity.onCreate()");
		try {
			a = JsonParserTest3.getPDAServerData();
			System.out.println(a);
		} catch (Exception e) {
			e.printStackTrace();
		}
		testText.setText(a);
	}

}
